﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Collections;
using WorkflowWizart.Lib.Utility.Costants;

namespace WorkflowWizart.Lib.Utility.ExtensionMethods
{
    public static class TypeExtender
    {


        public static bool IsGuid(this object data)
        {
            return CompareHelper.IsGuid(data);
        }
        public static bool IsInt(this object data)
        {
            return CompareHelper.IsInt(data);
        }
        public static bool IsLong(this object data)
        {
            return CompareHelper.IsLong(data);
        }
        public static bool IsDecimal(this object data)
        {
            return CompareHelper.IsDecimal(data);
        }
        public static bool IsDateTime(this object data)
        {
            return CompareHelper.IsDateTime(data);
        }
        public static bool IsTime(this object data)
        {
            return CompareHelper.IsTime(data);
        }
        public static bool IsBool(this object data)
        {
            return CompareHelper.IsBool(data);
        }
 
    }
}
